package com.onlinelibrary.service;

import com.onlinelibrary.pojo.Book;
import com.onlinelibrary.result.Result;
import org.springframework.web.multipart.MultipartFile;

public interface BookService {
    Result list();

    Result getBook(Book book);

    Result addBook(Book book);

    Result updateCoverImage(MultipartFile file, String isbn);

    Result updateBook(Book book);

    Result getTableData(Book book);

    Result deleteBook(Book book);

    Result getBooks(Book book);

    Result getTopImg();

    Result getBooksByBookName(Book book);
}
